package cn.caojun.auth.domain;

import cn.caojun.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu extends BaseDomain {

    public String name;
    public String url;
    public String icon;
    public Long parentId;
    public Menu menu;
    public Permission permission;

    public List<Menu> children;
}
